package com.simple.datax.dao;

import java.util.List;

import com.simple.datax.vo.DataxFlowIdVO;
import com.simple.datax.vo.DataxFlowVO;
import com.simple.util.object.PageInfoBean;

public interface IDataxFlowDAO {
	
	String generateId();
	
	DataxFlowVO findById(final DataxFlowIdVO id);
    
    void saveOrUpdate(final DataxFlowVO dataxFlowVO);
    
    void update(final DataxFlowVO dataxFlowVO);

    List<DataxFlowVO> findAll();

    void delete(final DataxFlowVO dataxFlowVO);
    
    void delete(final DataxFlowIdVO id);
    
    List<DataxFlowVO> findDataxFlowVOByPage(PageInfoBean pageInfoBean,final String flowId,final String originateCop,final String ecName,final String statusSelect);
    
    boolean checkExistFlowName(final String flowName);
}
